/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package collision;

import java.awt.Image;
import javax.swing.ImageIcon;

/**
 *
 * @author Marina
 */
public class Scenery {
    
    private String name = "/Sprites/template.gif";

    private Image image;
    
    
    
    public Scenery(){
        ImageIcon ii = new ImageIcon(this.getClass().getResource(name));
        image = ii.getImage();
    }
    
    public Image getImage() {
        return image;
    }

    public void setImage(Image image) {
        this.image = image;
    }
    
    
}
